package br.pucrio.inf.lac.konoha.hyuga.common;

import br.pucrio.inf.lac.konoha.hyuga.events.LocationUpdateEvent;
import br.pucrio.inf.lac.konoha.hyuga.events.grid.GridClusterEvent;

public class Snapshot {
	private GridClusterEvent        cluster;
	private long					eps;
	private int						minpts;
	private LocationUpdateEvent[]	nodesSnapshot;

	public Snapshot(GridClusterEvent cluster, LocationUpdateEvent[] nodes, long eps, int minpts) {
		this.cluster = cluster;
		this.nodesSnapshot = nodes;
		this.eps = eps;
		this.minpts = minpts;
	}

	public GridClusterEvent getCluster() {
		return cluster;
	}

	public void setCluster(GridClusterEvent cluster) {
		this.cluster = cluster;
	}

	public long getEps() {
		return eps;
	}

	public void setEps(long eps) {
		this.eps = eps;
	}

	public int getMinpts() {
		return minpts;
	}

	public void setMinpts(int minpts) {
		this.minpts = minpts;
	}

	public LocationUpdateEvent[] getNodesSnapshot() {
		return nodesSnapshot;
	}

	public void setNodesSnapshot(LocationUpdateEvent[] nodesSnapshot) {
		this.nodesSnapshot = nodesSnapshot;
	}

}
